N = int (input())  
SUM = 1  
 
for i in range(1, N ):
    
    if (i%2!=0):
        SUM += (i+1)
    
    else:
        SUM -= (i+1)
    


print(SUM)